<?php
	
	echo "<option value=0 selected='selected'>". "-- Parent --" ."</option>";
	foreach($rows as $row)
	{
		$key = $row->id;
		$value = $row->name;
		echo "<option value=$key >". $value ."</option>";
	}
	
	